body{
    background: #f5f5f5;
}
/* 主体布局容器 */
.jd_container{
    /* 1.做网页参照psd 640px 750px
    2.640px和当前主流设备的尺寸 */
    /* 3.750px和当前主流设备尺寸有关系 i6 375px */
    max-width: 640px;
    /* 最小的手机设备 */
    min-width: 320px;
    width: 100%;
    margin: 0 auto;

}
 /* 顶部搜索  */
 .jd_header{
    
     position:fixed;/*固定定位 基于浏览器 */
     left: 0;
     top: 0;
     width: 100%;
     z-index: 999;

 }
 .jd_header .jd_header_box{
     height: 40px;
     background: #d8505c;
     width: 100%;
     max-width: 640px;
     min-width: 320px;
     margin: 0 auto;
     position: relative;
 }
 .jd_header .jd_header_box .icon_logo{
     position: absolute;
     left: 5px;
     top: 6px;
     width: 60px;
     height: 36px;
     /* background: url("../images/sprites.png") no-repeat 0 -106px / 200px 200px; */
     background-position: 0 -106px;
 }
 .jd_header .jd_header_box .login{
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color:#fff;
 }
 .jd_header .jd_header_box form{
   width: 100%;
   padding-left:60px;
   padding-right:50px;  
 }
 .jd_header .jd_header_box form input{
     width: 100%;
     height: 30px;
     border-radius:15px;
     margin: 5px; 
     padding-left: 30px;
 }
 .jd_header .jd_header_box form .icon_search{
     width: 20px;
     height: 20px;
     position: absolute;
     left: 70px;
     top: 10px;
     /* background: url("../images/sprites.png") no-repeat -60px -109px / 200px 200px; */
     background-position: -60px -109px;
 }
 /* 轮播图  */
 .jd_banner{
     width: 100%;
     overflow: hidden;
     position: relative;
 }
 .jd_banner ul:first-child{
     width: 1000%;
     transform: translateX(-10%);
     -webkit-transform: translateX(-10%);
 }
 .jd_banner ul:first-child li{
     width: 10%;
     float: left;
 }
 .jd_banner ul:first-child li a{
     display: block;
     width: 100%;
 }
 .jd_banner ul:first-child li a img{
     display: block;
     width: 100%;
 }
 .jd_banner ul:last-child{
     position: absolute;
     left: 50%;
     bottom: 6px;
     width: 118px;
     height: 6px;
     margin-left:-59px;
 }
 .jd_banner ul:last-child li{
    float: left; 
    width: 6px;
    height: 6px;
    margin-left:-60px;
    border-radius:3px;
    border: 1px solid #fff;
    margin-left: 10px;
 }
 .jd_banner ul:last-child li:first-child{
     margin-left: 0px;
 }
 .jd_banner ul:last-child li.now{
     background: #fff;
 }

/* 导航栏 */
.jd_nav{
    width: 100%;
    background: #fff;
    border-bottom:1px solid #ddd; 
}
.jd_nav ul{
    width: 100%;
    padding: 10px; 
}

.jd_nav ul li{
  width: 25%;
  float: left;
}
.jd_nav ul li a{
    display: block;
    width: 100%;
}
.jd_nav ul li a img{
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;

}
.jd_nav ul li a p{
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 5px 0;
}
/* 商品容器的样式和公共的样式 */
.jd_product{
    padding: 0 5px;
}
.jd_product .jd_pro_box{
    margin-top:10px;
    box-shadow: 0 0 1px #ccc;
    background: #fff;
}
.jd_pro_box .head{
    height: 34px;
    width: 100%;
    line-height: 34px;
    border-bottom:1px solid #ddd; 
}
.jd_pro_box .head.nb{
    border-bottom:none;
}
.jd_pro_box .head h3{
    /* normal 自然 */
    font-weight: normal;
    padding-left:23px;
    position: relative;

}
.jd_pro_box .head h3::before{
        content: "";
        width: 3px;
        height: 12px;
        position: absolute;
        left:10px;
        top: 11px;
        background: #d8505c;
}
.jd_pro_box .content{

}
/* 秒杀模块 */
.sk_icon{
    width: 16px;
    height: 20px;
    margin-left:10px;
    margin-top:6px;
    background: url("../images/seckill-icon.png") no-repeat 0 0 /16px 20px; 
    float: left;
}
.sk_name{
    float: left;
    color: #d8505c;
    margin-left: 10px;
}
.sk_time{
    float: left;
    margin-left: 10px;


}
.sk_time span{
    margin-top:8px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: #333;
    float: left;
    margin-right: 3px;
}
.sk_time span:nth-child(3n){
    background: #fff;
    color: #333;
    width: 3px;
}
/* 秒杀内容 */
.sk_con{
    width: 100%;
    padding: 10px 0;
}
.sk_con li{
    width: 33.3333%;
    float: left;
}
.sk_con li a{ 
    display: block;
    width: 100%;
    border-right:1px solid #ddd;

}
.sk_con li:last-child a{
    border-right: none;
}
.sk_con li a img{
    display: block;
    width: 64%;
    margin: 0 auto;

}
.sk_con li p{
    font-size: 12px;
    text-align: center;
    padding: 3px 0;  
}
.sk_con li .nowPrice{
    color:#d8505c;
}
.sk_con li .oldPrice{
    color: #666;
    text-decoration: line-through;
}
/* 组合样式 */
.w50p{
    width: 50%;
}
.w50p img{
    display: block;
    width: 100%;
}
.br{
    border-right: 1px solid #ddd; 
}
.bl{
    border-left: 1px solid #ddd; 
}
.bb{
    border-bottom: 1px solid #ddd; 
}
